home *** CD-ROM | disk | FTP | other *** search
- #ifndef INCgtplot
- #define INCgtplot
-
- /*-
- gnuplot Graphics Terminal header file. This file is required by
- all users of the gnuplot Graphics Terminal library: gterm.c
- -*/
- #include "plot.h"
-
- /* Some key global variables */
- #ifdef GT_OWNER
- /* GTterm_tbl[] is "extern" only in the sense that it is defined later... */
- extern struct termentry GTterm_tbl[];
- FILE *GToutfile=NULL;
- BOOLEAN GTterm_init=0;
- BOOLEAN GTinteractive=0; /* Not used correctly yet--who can set it? */
- BOOLEAN GTcolor=0; /* Not used yet */
- int GTterm=0;
- float GTxsize = 1.0, GTysize = 1.0, GTzsize = 1.0; /* z's not used yet */
- #else
-
- /*-
- Globals available when using gterm.c:
-
- GTterm_tbl[] - table containing function pointers, etc. for all
- terminal drivers in the gnuplot package.
-
- GToutfile - Output file pointer where all plotting activity is
- written out.
-
- GTterm_init - Indicates if the terminal has been initialized yet.
-
- GTinteractive - Indicates if we are an interactive terminal or not.
-
- GTcolor - Not used yet, someday it would be nice to know if we
- are working on a color terminal or not.
-
- GTterm - Index into GTterm_tbl describing the current terminal.
- Generally gt_init_teminal() will set this to match the
- GNUTERM environment variable. The terminal can be
- changed, however, with gt_change_term().
-
- GTxsize, - scaling factors currently only the LaTeX driver can
- GTysize and the postscript driver make use of these.
- -*/
-
- extern struct termentry GTterm_tbl[];
- extern FILE *GToutfile;
- extern BOOLEAN GTterm_init;
- extern BOOLEAN GTinteractive;
- extern BOOLEAN GTcolor; /* Not used yet */
- extern int GTterm;
- extern float GTxsize, GTysize;
- /*--*/
-
- /*--*/
- #endif
- #endif
-